-
Notifications
You must be signed in to change notification settings - Fork 138
feat: implement SNIP-29 (issue #745) #768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement SNIP-29 (issue #745) #768
Conversation
|
Thank you @Salonii02! |
|
Hi @Salonii02! |
Okay Thanks!! No worries, will wait for the review. |
Hey @thiagodeev Did you get chance to review my changes |
|
Hey! Sorry @Salonii02, not yet. All PR reviews are still paused until the final rpc v0.9 release. |
|
Looking forward to this landing! |
|
Hey @Salonii02! |
Okay thanks!! Looking forward to it |
a44fda4 to
e05372f
Compare
d2f2a71 to
1164214
Compare
This file is planned to be removed in the future, so no need to add more tests here. We can use the mockgen pkg intead
…erface We are not using this interface anywere, nor the mock
…Paymaster and removing environment enum
…or clarity and consistency
…on for existing tests
…for BuildTransactionRequest and ExecuteTransactionRequest
|
All the code was reviewed through these five PRs:
The only difference in this PR is the changelog update here Thanks again @Salonii02! |
Summary
This pull request introduces supporting methods for the SNIP-29 Applicative Paymaster API, enabling off-chain paymaster integration for sponsored and flexible transaction fee payments.
This PR closes #745.
Key Changes
paymasterpkg was created in the root of the repository to provide a dedicated interface for the paymaster API.paymaster_isAvailablepaymaster_getSupportedTokenspaymaster_buildTransactionpaymaster_executeTransactionpaymaster_trackingIdToLatestHashpaymasterexample in theexamplefolders showing how to use it.